Skip to main content

libURLLastRHHeaders

Type

function

Summary

Returns the headers sent by the remote host in the most recent HTTP transaction.

Syntax

libURLLastRHHeaders()

Description

Use the libURLLastRHHeaders function to respond to custom header information that the Internet library does not handle.

Whenever another system sends data via HTTP to your system, the remote system sends an HTTP header along with the data. This header generally consists of several lines and may include the request type, the HTTP protocol version being used, and other information.

Important

The libURLLastRHHeaders function is part of the Internet library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Internet" script library is selected.

Examples

if libURLLastRHHeaders() is mostRecentSet then exit to top

property: httpHeaders

command: load

control structure: function

function: libURLLastHTTPHeaders, URLStatus

glossary: LiveCode custom library, Standalone Application Settings, return, standalone application

keyword: http

library: Internet library

Compatibility and Support

Introduced

LiveCode 1.1.1

OS

mac

windows

linux

web

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?